package com.yf.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;

import java.io.Serializable;
import java.util.Date;

/**
 * 车型
 *
 * @author wangbiao
 * @date 2016-08-17 15：36
 */
@ApiModel
public class VehicleModel implements Serializable {

    private static final long serialVersionUID = 3278994499565447909L;

    @ApiModelProperty(value = "主键ID")
    private Integer id;

    /**
     * 品牌
     */
    @ApiModelProperty(value = "品牌")
    private String brand;

    /**
     * 车型
     */
    @ApiModelProperty(value = "车型")
    private String model;

    /**
     * 上市时间
     */
    @ApiModelProperty(value = "上市时间")
    private Date launchDate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public Date getLaunchDate() {
        return launchDate;
    }

    public void setLaunchDate(Date launchDate) {
        this.launchDate = launchDate;
    }

    @Override
    public String toString() {
        return ReflectionToStringBuilder.toString(this);
    }

}
